<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<div>
<!-- TODO: stylen -->
	<div id="survey">
		<h1>${survey.title}</h1>
		<p class="createdby">Gecre&euml;erd door ${survey.creator.firstname} ${survey.creator.name} at ${survey.creationdate}</p>
		<p class="description">${survey.description}</p>
		<p>Geldig van "<fmt:formatDate type="both" dateStyle="short" timeStyle="short" value="${survey.startdate}" />" tot "<fmt:formatDate type="both" dateStyle="short" timeStyle="short" value="${survey.enddate}" />"</p>
		<p>Taal: ${survey.language}</p>
	</div>
	<c:forEach var="question" items="${survey.questionSet}" >
		<p class="questiontext">${question.text}</p>
	</c:forEach>
	
</div>